#include "Nano100Series.h"
#include "Config.h"

uint32_t is_video_on = 0;
uint32_t is_brightness_changed_by_key = 0;
uint32_t is_brightness_changed_by_cmd = 0;
uint32_t brightness_set_by_key;
uint32_t brightness_set_by_cmd;
uint32_t is_volume_changed_by_key = 0;
int volume_set_by_key = 10;

void DelayUs(uint32_t n)
{
	CLK_SysTickDelay(n);
}

void DelayMs(uint32_t n)
{
	while (n--) {
		DelayUs(1000);
	}
}
